<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String menu = "6";
	String id   = request.getParameter("id") == null ? (String)session.getAttribute("id") :request.getParameter("id"); 
	Integer idx	= (Integer)session.getAttribute("idx");
	
	if ( idx == null || idx == 0 ){
		response.sendRedirect("member_login.jsp");
	}
	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>황인영의 웨딩스토리</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/default.js"></script>
<script type="text/javascript">
	
	function member_del(){
		
		if ( confirm("회원 탈퇴하시겠습니까?") ) {
			
			var form = document.wedding_form;
			form.action = "member_del_dbx.jsp";
			form.submit();
			
		}
		
	}
	
</script>
<!--[if lte IE 6]><link rel="stylesheet" href="css/ie6.css" type="text/css" media="all" /><![endif]-->
<!--[if lte IE 7]><link rel="stylesheet" href="css/ie7.css" type="text/css" media="all" /><![endif]-->
</head>
<body>
<!-- header -->
<%@ include file="/inc/header.jsp" %>
<!-- header// -->
<form metohd="post" name="wedding_form" action="member_02.jsp">
	<input type="hidden" name="id" value="<%=id %>" />
</form>
<!-- container -->
    <div id="join_container" class="pdb100">
        <h2><img src="../img/mypage.gif" alt="마이페이지" /></h2>
        <div class="sub-con">
        <ul class="tab05">
        <li class="one"><a href="#" onclick="document.wedding_form.submit();return false;">First Marriage</a></li>
        <li class="two"><a href="member_del.jsp" class="hover">Remarriage</a></li>
        </ul>
        <p><img src="../img/mypage_img01.gif" alt="황인영의 웨딩스토리 회원가입을 축하합니다. 회원님에게 영원히 간직 될 행복한 이야기를 만들어드리겠습니다." /></p>
        <div class="btn-center530 pdb100">
        <a href="#" onclick="member_del();return false;"><img src="../img/btn_ok01.gif" alt="확인" /></a>
        <a href="/"><img src="../img/btn_cancle.gif" alt="취소" /></a>
        </div>
        
        </div>
        <div class="advice"><img src="../img/img01.gif" alt="문의및상담 1666-0135" /></div>
        </div>
<!-- footer -->
<%@ include file="/inc/footer.jsp" %>
<!-- fooer// -->
	</div>
</div>
<!-- container// -->
</div>
</div>
</div>
</body>
</html>
